package calculator.controller;/*
 * @author     ：zhangbo
 * @date       ：Created in 2021/5/22 12:02
 * @description：负责处理用户单击退格按钮触发的ActionEvent事件。
 * @modified By：zhangbo
 * @version:     $
 */

import calculator.view.CalculatorWindows;

import java.awt.event.ActionEvent;

public class HandleBack extends HandleEvent {
    public HandleBack(CalculatorWindows window) {
        super(window);
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        window.computer.backspace();
        showMess();
    }
}
